package org.ndx.jsg;

import java.io.File;

import org.apache.tika.metadata.Metadata;

/**
 * Interface providing common infos about file.
 * This interface may (and will) be derived for some common cases (xml, html, pictures, sounds, and so on)
 * @author ndx
 *
 */
public interface FileInfos extends Comparable<FileInfos>, RelativePathProvider {
	/**
	 * Get the file object associated to these infos
	 * @return a File object denoting path to input file
	 */
	public File getFile();
	
	/**
	 * Get the mime type of the input file
	 * @return
	 */
	public String getMimeType();

	public Metadata getMetadata();
}
